package zsw.rocketmqs;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableAutoConfiguration
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("web.dao")
@ComponentScan(basePackages="zsw.rocketmqs.**")
public class mainClass {
	
	   public static void main(String[] args) {
	        SpringApplication.run(mainClass.class, args);
	    }
	/*    @Bean("ddd")
	    @ConfigurationProperties(prefix = RocketmqProperties.PREFIX)
	    public RocketmqProperties RocketmqProperties() {

	        return new RocketmqProperties();
	    }*/

}
